package com.tedu._04mybatis.mapper;

import com.tedu._04mybatis.pojo.Comment;
import com.tedu._04mybatis.pojo.CommentVO1;
import com.tedu._04mybatis.pojo.CommentVO2;
import org.apache.ibatis.annotations.*;

import java.util.List;

@Mapper
public interface CommentMapper {


    int insertComment(Comment comment);


    int deleteCommentById(Integer id);


    int updateCommentById(Comment comment);


    Comment selectCommentById(Integer id);


    CommentVO1  selectCommentVO1ByCommentId(Integer id);


    List<CommentVO2> selectCommentVO2ByWeiboId(Integer weiboId);













}
